package branch.feature.ui_pratice

import android.app.Activity
import android.os.Bundle
import android.view.View
import android.widget.ViewFlipper
import com.example.myapplication.R

class ViewFlipperActivity: Activity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.ui_pratice_viewflipper)

        val vf = findViewById<ViewFlipper>(R.id.ui_pratice_vf)
        vf.addView(View.inflate(this, R.layout.ui_pratice_viewflipper_item, null))
        vf.addView(View.inflate(this, R.layout.ui_pratice_viewflipper_item, null))
        vf.addView(View.inflate(this, R.layout.ui_pratice_viewflipper_item, null))
    }


}